name: tests190 run_id: commands[0] env HOME: /home/jenkins env LANG: C.UTF-8 env PATH: /w/workspace/transportpce-tox-verify-titanium/.tox/tests190/bin:/opt/pyenv/bin:/tmp/venv-xGUs/bin:/opt/pyenv/shims:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin env PIP_DISABLE_PIP_VERSION_CHECK: 1 env PYTHONHASHSEED: 3220069217 env PYTHONIOENCODING: utf-8 env SSH_AUTH_SOCK: ******************************** env TOX_ENV_DIR: /w/workspace/transportpce-tox-verify-titanium/.tox/tests190 env TOX_ENV_NAME: tests190 env TOX_WORK_DIR: /w/workspace/transportpce-tox-verify-titanium/.tox env USE_ODL_ALT_KARAF_ENV: ./karafoc.env env USE_ODL_ALT_KARAF_INSTALL_DIR: karafoc env USE_SIMS: lighty env VIRTUAL_ENV: /w/workspace/transportpce-tox-verify-titanium/.tox/tests190 env __TOX_ENVIRONMENT_VARIABLE_ORIGINAL_CI: true metadata pid: 5401 cwd: /w/workspace/transportpce-tox-verify-titanium/tests allow: /w/workspace/transportpce-tox-verify-titanium/.tox/tests190/bin/*:launch_tests.sh cmd: ./launch_tests.sh oc exit_code: 1 using environment variables from ./karafoc.env pytest -q transportpce_tests/oc/test01_portmapping.py FFFFFFFFFF [100%] =================================== FAILURES =================================== ___________ TestTransportPCEPortmapping.test_01_meta_data_insertion ____________ self = def test_01_meta_data_insertion(self): response = test_utils_oc.metadata_input() > self.assertEqual(response.status_code, requests.codes.created, test_utils.CODE_SHOULD_BE_201) E AssertionError: 401 != 201 : Http status code should be 201 transportpce_tests/oc/test01_portmapping.py:48: AssertionError ---------------------------- Captured stdout setup ----------------------------- starting OpenDaylight... starting KARAF (karafoc) TransportPCE build... Searching for patterns in karaf.log... Pattern found! OpenDaylight started ! starting simulator oc-mpdr in OpenROADM device version oc... Searching for patterns in sample-openconfig-mpdr.log... Pattern found! simulator for oc-mpdr started ----------------------------- Captured stdout call ----------------------------- execution of test_01_meta_data_insertion __________ TestTransportPCEPortmapping.test_02_catlog_input_insertion __________ self = def test_02_catlog_input_insertion(self): response = test_utils_oc.catlog_input() > self.assertEqual(response.status_code, requests.codes.ok, test_utils.CODE_SHOULD_BE_200) E AssertionError: 401 != 200 : Http status code should be 200 transportpce_tests/oc/test01_portmapping.py:53: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_02_catlog_input_insertion __________ TestTransportPCEPortmapping.test_03_xpdr_device_connection __________ self = def test_03_xpdr_device_connection(self): response = test_utils.mount_device("XPDR-OC", ('oc-mpdr', self.NODE_VERSION)) > self.assertEqual(response.status_code, requests.codes.created, test_utils.CODE_SHOULD_BE_201) E AssertionError: 401 != 201 : Http status code should be 201 transportpce_tests/oc/test01_portmapping.py:59: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_03_xpdr_device_connection Searching for patterns in karaf.log... Pattern not found after 180 seconds! Node XPDR-OC still not added to tpce topology... __________ TestTransportPCEPortmapping.test_04_xpdr_device_connected ___________ self = def test_04_xpdr_device_connected(self): response = test_utils.check_device_connection("XPDR-OC") > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 409 != 200 transportpce_tests/oc/test01_portmapping.py:64: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_04_xpdr_device_connected __________ TestTransportPCEPortmapping.test_05_xpdr_portmapping_info ___________ self = def test_05_xpdr_portmapping_info(self): response = test_utils.get_portmapping_node_attr("XPDR-OC", "node-info", None) > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 409 != 200 transportpce_tests/oc/test01_portmapping.py:69: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_05_xpdr_portmapping_info ________ TestTransportPCEPortmapping.test_06_mpdr_portmapping_NETWORK5 _________ self = def test_06_mpdr_portmapping_NETWORK5(self): response = test_utils.get_portmapping_node_attr("XPDR-OC", "mapping", "XPDR1-NETWORK5") > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 409 != 200 transportpce_tests/oc/test01_portmapping.py:82: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_06_mpdr_portmapping_NETWORK5 _________ TestTransportPCEPortmapping.test_07_mpdr_portmapping_CLIENT1 _________ self = def test_07_mpdr_portmapping_CLIENT1(self): response = test_utils.get_portmapping_node_attr("XPDR-OC", "mapping", "XPDR1-CLIENT1") > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 409 != 200 transportpce_tests/oc/test01_portmapping.py:104: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_07_mpdr_portmapping_CLIENT1 ___________ TestTransportPCEPortmapping.test_08_mpdr_switching_pool ____________ self = def test_08_mpdr_switching_pool(self): response = test_utils.get_portmapping_node_attr("XPDR-OC", "switching-pool-lcp", "1") > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 409 != 200 transportpce_tests/oc/test01_portmapping.py:130: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_08_mpdr_switching_pool ____________ TestTransportPCEPortmapping.test_09_check_mccapprofile ____________ self = def test_09_check_mccapprofile(self): res = test_utils.get_portmapping_node_attr("XPDR-OC", "mc-capabilities", "XPDR-mcprofile") > self.assertEqual(res['status_code'], requests.codes.ok) E AssertionError: 409 != 200 transportpce_tests/oc/test01_portmapping.py:143: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_09_check_mccapprofile ________ TestTransportPCEPortmapping.test_10_xpdr_device_disconnection _________ self = def test_10_xpdr_device_disconnection(self): response = test_utils.unmount_device("XPDR-OC") > self.assertIn(response.status_code, (requests.codes.ok, requests.codes.no_content)) E AssertionError: 409 not found in (200, 204) transportpce_tests/oc/test01_portmapping.py:150: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_10_xpdr_device_disconnection Searching for patterns in karaf.log... Pattern not found after 180 seconds! Node XPDR-OC still not deleted from tpce topology... --------------------------- Captured stdout teardown --------------------------- all processes killed ODL log file stored =========================== short test summary info ============================ FAILED transportpce_tests/oc/test01_portmapping.py::TestTransportPCEPortmapping::test_01_meta_data_insertion FAILED transportpce_tests/oc/test01_portmapping.py::TestTransportPCEPortmapping::test_02_catlog_input_insertion FAILED transportpce_tests/oc/test01_portmapping.py::TestTransportPCEPortmapping::test_03_xpdr_device_connection FAILED transportpce_tests/oc/test01_portmapping.py::TestTransportPCEPortmapping::test_04_xpdr_device_connected FAILED transportpce_tests/oc/test01_portmapping.py::TestTransportPCEPortmapping::test_05_xpdr_portmapping_info FAILED transportpce_tests/oc/test01_portmapping.py::TestTransportPCEPortmapping::test_06_mpdr_portmapping_NETWORK5 FAILED transportpce_tests/oc/test01_portmapping.py::TestTransportPCEPortmapping::test_07_mpdr_portmapping_CLIENT1 FAILED transportpce_tests/oc/test01_portmapping.py::TestTransportPCEPortmapping::test_08_mpdr_switching_pool FAILED transportpce_tests/oc/test01_portmapping.py::TestTransportPCEPortmapping::test_09_check_mccapprofile FAILED transportpce_tests/oc/test01_portmapping.py::TestTransportPCEPortmapping::test_10_xpdr_device_disconnection 10 failed in 424.59s (0:07:04)